package QQCilent.Service;


import java.util.HashMap;

/**
 *
 * 管理客户端和服务器进行连接的线程的类
 *
 */
public class ManageClientConnectServiceThread {

    private static HashMap<String, ClientConnectServerThread> map = new HashMap<>();
    public static void addManageClientConnectServiceThread(String userId, ClientConnectServerThread clientConnectServiceThread){
        map.put(userId, clientConnectServiceThread);
    }
    public static ClientConnectServerThread getManageClientConnectServiceThread(String userId){
        return map.get(userId);
    }
}
